<div class="layui-form-item layui-input-block">
  <button target-form="post-form" class="layui-btn layui-btn-sm ajax-post fresh-parent-table layer-msg close-iframe" url="{{ _rb.controller }}/set"><i class="layui-icon layui-icon-ok"></i> {{ d.id ? L("edit") : L("add") }}</button>
  <a style="cursor:pointer" class="layui-btn layui-btn-sm layui-btn-primary ml10 js-close-layer">{{ L('close') }}</a>
</div>